package org.example.controller;

import org.example.model.User;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/data")
public class DataBindingController {
    @RequestMapping("/user")
    public String handle(@ModelAttribute User user) {
        // 处理请求
        return "success";
    }
}
